<?php
class Modulemanager_Data_Insertsettings implements Modulemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO module_settings(module_name, status_name, access_level) VALUES('".$variables['post']['module_name']."', '".$variables['post']['status_name']."', '".$variables['post']['access_level']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
